package payroll.trans;

import payroll.Employee;
import payroll.PaymentClassification;

public abstract class ChangeClassificationTransaction extends ChangeEmployeeTransaction{
    
    public ChangeClassificationTransaction(int empId) {
        super(empId);
    }

    @Override
    protected void doChange(Employee e){
        e.setPaymentClassification(getPaymentClassification());
    }

    protected abstract PaymentClassification getPaymentClassification();
    
}
